class ChangeProduct < ActiveRecord::Migration
  def self.up
	remove_column :products, :national_id, :farm_id, :level, :image_url, :p200,:p500, :p1000,:p6m200,:p6m1000, :p12m200, :p12m500, :p12m1000
	add_column :products, :name, :string
	add_column :products, :product_type, :string
  end

  def self.down
	remove_column :products, :name, :product_type
  end
end

